package com.lanqiao.attendance.service;

import com.lanqiao.attendance.pojo.Attendance;
import com.lanqiao.attendance.vo.AttendanceVo;
import com.lanqiao.attendance.vo.Result;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

import java.io.IOException;
import java.util.List;


public interface AttendanceService {
    Result queryById(Long id);

    Result findById(Long stuId,Long courseId);

    Result queryByCourseNum(Long courseId);

    Result queryAll();

    Result insert(Attendance attendance);

    Result update(Long stuId, Long courseId);

    Result delete(Long stuId,Long courseId);

    Result attendanceCount(Long courseId,String status);

    Result queryStudentAttendance(Long courseId) throws IOException;
}
